<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <head th:insert="/common/common :: commonSource('秒杀物品信息')"></head>
</head>
<body class="layui-layout-body">
<div class="main-layout" id='main-layout'>
    <input id="page-index" value="1" type="hidden">
    <div th:insert="/common/sider"></div>
    <div class="main-layout-container">
        <div th:insert="/common/header"></div>
        <!--主体内容-->
        <div class="main-layout-body">
            <div class="page-content-wrap">
                <form class="layui-form" action="">
                    <div class="layui-form-item">
                        <div class="layui-inline tool-btn">
                            <button class="layui-btn layui-btn-small layui-btn-normal addBtn hidden-xs"
                                    data-url="menu-add2.html"><i class="layui-icon">&#xe654;</i>
                            </button>
                            <button class="layui-btn layui-btn-small layui-btn-warm listOrderBtn hidden-xs"
                                    data-url="/admin/category/listorderall.html"><i
                                    class="iconfont">&#xe656;</i></button>
                        </div>
                        <div class="layui-inline">
                            <input type="text" name="title" placeholder="请输入标题" autocomplete="off"
                                   class="layui-input">
                        </div>
                        <div class="layui-inline">
                            <select name="category" lay-filter="status">
                                <option value="0">主导航</option>
                                <option value="010">关于我们</option>
                                <option value="021">产品中心</option>
                                <option value="021">新闻中心</option>
                                <option value="021">业务范围</option>
                                <option value="021">联系我们</option>
                                <option value="021">在线留言</option>
                            </select>
                        </div>
                        <button class="layui-btn layui-btn-normal" lay-submit="search">搜索</button>
                    </div>
                </form>
                <div class="layui-form" id="table-list">

                    <table class="layui-hide" id="seckillGoodsTable"
                           lay-filter="goodsTableBarFilter"></table>
                </div>
            </div>
        </div>
    </div>
    <form method="post" style="display: none" id="reidrectForm" target="_blank"
          th:action="${#servletContext.contextPath}+'/seckillDetail/index'">
        <input id="redirect_input_seckillGoodsId" name="seckillGoodsId"/>
    </form>
    <div class="layui-footer">
        <div th:insert="/common/footer"></div>
    </div>
    <script type="text/html" id="seckillGoodsTableBar" lay-filter="goodsTableBarFilter">
        <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="seckill">抢</a>
    </script>
    <script th:src="@{/static/js/lib/seckillGoods/seckillGoods.js}"></script>
</div>
</body>
</html>